﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace TPTecnicas.MessageProcessor.Common
{
    [DataContract(Namespace = "http://TPTecnicas.MessageProcessor")]
    public class Message : IMessage
    {
        [DataMember]
        public string Sender { get; set; }

        [DataMember]
        public string Destinatary { get; set; }

        [DataMember]
        public string Subject { get; set; }

        [DataMember]
        public string Body { get; set; }

        public IEnumerable<string> Attachments { get; set; }
    }
}
